#ifndef LOGIC_H
#define LOGIC_H

#include "logic_global.h"

class LOGIC_EXPORT Logic: public ILogic
{
private:
	IBridge* _bridge;
	QStringList DeviceParcer();
	QList<FileSystem> fileSystemParcer(QString path);
public:
	Logic();
	~Logic();

	void Start();
	QList<Devices> getDevices();	
	void selectedDevice(QString);
	bool getScreenshot(QString);
	QList<FileSystem> getFileSystem(QString);
	bool newFolder(QString, QString);
	bool Delete(QString, QString);
	bool Install(QString path,bool installTo);
	
	bool Paste(QString,QStringList,bool);
	
	void Stop();
	bool makeBackup(QString path,bool apk,bool shared);
	bool Restore(QString path);
	bool Push(QString,QString);
	bool Pull(QString,QString);
	bool Rename(QString oldName,QString newName);
	
};

#endif // LOGIC_H
